#pragma once
#include "qthread.h"
#include "itkCurvatureAnisotropicDiffusionImageFilter.h"
#include "itkGradientMagnitudeRecursiveGaussianImageFilter.h"
#include "itkSigmoidImageFilter.h"
#include "itkImage.h"
#include "itkFastMarchingImageFilter.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkRescaleIntensityImageFilter.h"
#include <QtCore/QList>
class QString;
class QSegmentationAlgorithmRunner:
	public QThread
{
	Q_OBJECT
public:
	QSegmentationAlgorithmRunner(QList<QString> list,int type);
	~QSegmentationAlgorithmRunner();

protected:
	void run();
	QList<QString> list;
	QString itemGroup;
	int AlgorithmType;

signals:
	void ImageShow(QString s);
	void FillItem(QString);
	void over();

};

